import "../base/request.dart";

// 推荐请求类
class RecommendRequest extends BaseRequest {
  RecommendRequest(int pageIndex, int pageSize) {
    this
      ..setHeader('fa', 'course-flag')
      ..setHeader('ZmEtMjAyMS0wNC0xMiAyMToyMjoyMC1mYQ==fa', 'auth-token')
      ..setQueryParams(pageIndex, 'pageIndex')
      ..setQueryParams(pageSize, 'pageSize');
  }

  @override
  bool get isHttps => true;

  @override
  SupportMethods get method => SupportMethods.GET;

  @override
  bool get needLogin => true;

  @override
  String get route => 'uapi/fa/home';

  @override
  String get path => '推荐';
}
